package com.hnichr.ump.common.talent.library.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_work_intention",indexes = {@Index(columnList = "USER_ID_")})
@Schema(description = "人才库-求职意向(期望职位)")
public class WorkIntention extends Talent {
    /**
     * 期望职类
     * 0 全职 1兼职 2实习
     */
    @Column(name = "WORK_TYPE_")
    @Schema(description = "期望职类")
    private String workType;

    /**
     * 期望行业
     */
    @Column(name = "WORK_INDUSTRY_")
    @Schema(description = "期望行业")
    private String workIndustry;

    /**
     * 期望职位
     */
    @Column(name = "WORK_NATURE_")
    @Schema(description = "期望职位")
    private String workNature;

    /**
     * 期望薪资上限
     */
    @Column(name = "MAX_MONEY_")
    @Schema(description = "期望薪资上限")
    private Integer maxMoney;

    /**
     * 期望薪资下限
     */
    @Column(name = "MIN_MONEY_")
    @Schema(description = "期望薪资下限")
    private Integer minMoney;

    /**
     * 简历id
     */
    @Column(name = "RESUME_ID_")
    @Schema(description = "简历id")
    private String resumeId;

    /**
     * 期望工作地点
     */
    @Column(name = "CITY_ID_")
    @Schema(description = "期望工作地点")
    private String cityId;
}
